package cn.topcodes.tcsf.app.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;

import javax.persistence.Table;

/**
 * HelpArticle
 */
@Data
@Table(name = "t_app_help_article")
public class HelpArticle extends IdEntity {

    public static final String FIELD_TITLE = "title";

    public static final String FIELD_CATALOGID = "catalogId";

    public static final String FIELD_AUTHOR = "author";

    public static final String FIELD_CONTENT = "content";

    public static final String FIELD_SORT = "sort";

    /**
     * 标题
     */
    private String title;

    /**
     * 分类ID
     */
    private Long catalogId;

    /**
     * 作者
     */
    private String author;

    /**
     * 内容
     */
    private String content;

    /**
     * 排序
     */
    private Integer sort;
}